﻿function ClientReading()
{
    document.getElementById("divProcessing").innerHTML=Portal.CMS.SyncDeleteRecord.GetProcessingText().value;
    setTimeout("RealClientReading()", 10);
}


function RealClientReading()
{
    retValue = Portal.CMS.SyncDeleteRecord.GetSyncDeleteRecord().value;
    if(retValue.indexOf("ERROR")!=-1)
    {
        document.getElementById("divProcessing").innerHTML="";
        alert(retValue);
        return;
    }
    document.getElementById("divProcessing").innerHTML="";
    document.getElementById("divSyncDeleteRecordContent").innerHTML = retValue;
}


function ClientSyncDeleteRecord() {
    document.getElementById("divProcessing").innerHTML = Portal.CMS.SyncDeleteRecord.GetProcessingText().value;
    setTimeout("RealClientSyncDeleteRecord()", 10);
}

function RealClientSyncDeleteRecord() {
    document.getElementById("divProcessing").innerHTML = "";
}